package com.base.dao.bms;

import com.base.vo.bms.MipsPatiVisitInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MipsPatiVisitInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MipsPatiVisitInfo record);

    int insertSelective(MipsPatiVisitInfo record);

    MipsPatiVisitInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MipsPatiVisitInfo record);

    int updateByPrimaryKeyWithBLOBs(MipsPatiVisitInfo record);

    int updateByPrimaryKey(MipsPatiVisitInfo record);

    List<MipsPatiVisitInfo> selectByPatientId(String patientId);

    String getInsuranceSystemName(Long mipsPatVisitInfoId);

    int updateIsDischargeByPrimaryKey(MipsPatiVisitInfo record);

}